//
//  Girl.m
//  OC08_Category_Extension_Protocol
//
//  Created by Scott on 16/3/7.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import "Girl.h"

@implementation Girl

- (void)marry {
    
    [self.delegate cooking];
    
    // 当delegate实现了makeMoney方法, 则delgate去调用makeMoney方法.
    if ([self.delegate respondsToSelector:@selector(makeMoney)]) {
        
        [self.delegate makeMoney];
    
    }
   
}








@end
